<?php


namespace app;


class Code
{
    const SUCCESS = 200;

    //基础异常
    const AUTH_EXCEPTION = 502;          //权限异常
    const OUTSIDE_API_EXCEPTION = 503;   //外部接口异常
    const PARAM_EXCEPTION = 501;         //参数异常
    const SERVER_EXCEPTION = 501;         //服务器异常
}